<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:head>
	<title>SDDP</title>
	<h:outputStylesheet library="css" name="estilo.css" />
	<h:outputScript name="jsf.js" library="javax.faces" target="head" />
</h:head>

<h:body>
	<div id="cabecalho">
		<h:graphicImage library="img" name="logo.gif" id="logoCompany" />
	</div>

	<div id="conteudo">
		<h:form>
			<h:messages id="msgErro" />
			<h:outputLabel value="Login" />
			<h:inputText value="#{loginBean.usuario.login}" />
			<br />

			<h:outputLabel value="Senha" />
			<h:inputSecret id="entradaSenha" value="#{loginBean.usuario.senha}" />
			<br />

			<p:commandButton value="Logar" action="#{loginBean.autenticar}" update="msgErro" />
		</h:form>
	</div>
	<div id="rodape">------------Laboratório de desenvolvimento 2012-----------</div>

</h:body>
</html>